<script setup>
import { RouterView } from 'vue-router'
// import { toRefs } from 'vue'
import playerView from '@/views/player/player.vue'
import { usePlayer } from '@/stores/player'

const player = usePlayer()
</script>

<template>
  <RouterView />

  <!--   播放器 -->
  <playerView v-if="player.musicList.length"></playerView>
</template>

<style scoped>
body {
  overflow: hidden;
}
</style>
